package com.cneport.das.server.trans.conf;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * @author GavinZhang
 * @version 1.0
 * @desc： client 绑定
 * @company 东方物通科技有限（北京）公司
 * @date 2021/9/5 8:18
 */
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "Bindings")
public class Bindings {
    @XmlElement(name = "binding")
    private List<Bind> binding;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    @NoArgsConstructor
    @AllArgsConstructor
    @Builder
    @XmlType
    public static class Bind {
        private String gid;
        private String bindingNo;
        private String createAt;
        private Integer isDel;
    }

}
